<template>
  <div class="TransferTree">
    <c-transfer-tree :left-data="leftData" :right-data="rightData" :disabled="disabled">
      <template #title="changeFn, item">
        {{ clog(changeFn, item) }}
        <a-checkbox
          v-model="item.checked"
          :disabled="disabled || item.disabled"
          @click.native.stop
          @change="changeFn(item)"
        >
          {{ item.name }}
        </a-checkbox>

        <span v-if="item.buttonList && item.buttonList.length">
          <span>（</span>

          <span v-for="itemBtn in item.buttonList" :key="itemBtn.id">
            <a-checkbox
              v-model="itemBtn.checked"
              :disabled="disabled || itemBtn.disabled"
              @click.native.stop
              @change="changeFn(itemBtn)"
            >
              {{ itemBtn.name }}
            </a-checkbox>
          </span>

          <span>）</span>
        </span>
      </template>
    </c-transfer-tree>
  </div>
</template>

<script>
export default {
  name: 'TransferTree',
  data() {
    return {
      clog: window.console.log,
      disabled: false,
      leftData: [
        {
          id: '1200596366656139265',
          name: '个人工作台',
          checked: true,
          disabled: true,
          scopedSlots: {
            title: 'title',
          },
          buttonList: null,
          childrenList: [
            {
              id: '1200596729362771969',
              name: '工作台',
              checked: true,
              disabled: true,
              scopedSlots: {
                title: 'title',
              },
              buttonList: [
                {
                  id: '1201452459412922369',
                  name: '提交认证资料',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1201452726774636546',
                  name: '提交鉴权',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
              ],
              childrenList: [
                {
                  id: '1200597213653889026',
                  name: '认证结果',
                  checked: true,
                  disabled: true,
                  scopedSlots: {
                    title: 'title',
                  },
                  buttonList: null,
                  childrenList: [],
                },
                {
                  id: '1200597385532272641',
                  name: '商户认证',
                  checked: true,
                  disabled: true,
                  scopedSlots: {
                    title: 'title',
                  },
                  buttonList: null,
                  childrenList: [],
                },
              ],
            },
          ],
        },
        {
          id: '1214374101670465538',
          name: '供货管理',
          checked: true,
          disabled: true,
          scopedSlots: {
            title: 'title',
          },
          buttonList: null,
          childrenList: [
            {
              id: '1214374364921761793',
              name: '销售规则配置',
              checked: true,
              disabled: true,
              scopedSlots: {
                title: 'title',
              },
              buttonList: [
                {
                  id: '1228608339789778946',
                  name: '添加',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1228608567020392449',
                  name: '编辑',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
              ],
              childrenList: [
                {
                  id: '1214435882560425986',
                  name: '编辑销售规则',
                  checked: true,
                  disabled: true,
                  scopedSlots: {
                    title: 'title',
                  },
                  buttonList: null,
                  childrenList: [],
                },
              ],
            },
            {
              id: '1212654934990819330',
              name: '采购商对接列表',
              checked: true,
              disabled: true,
              scopedSlots: {
                title: 'title',
              },
              buttonList: [
                {
                  id: '1249534653402124289',
                  name: '加入黑名单',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1249535323362496513',
                  name: '移出黑名单',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
              ],
              childrenList: [
                {
                  id: '1213352739115929601',
                  name: '采购商对接详情',
                  checked: true,
                  disabled: true,
                  scopedSlots: {
                    title: 'title',
                  },
                  buttonList: [
                    {
                      id: '1269914860414599170',
                      name: '设置协议价',
                      checked: true,
                      disabled: false,
                      scopedSlots: false,
                    },
                    {
                      id: '1269938003099287553',
                      name: '取消协议价',
                      checked: true,
                      disabled: false,
                      scopedSlots: false,
                    },
                  ],
                  childrenList: [
                    {
                      id: '1270537535059165185',
                      name: '采购商对接商品详情',
                      checked: true,
                      disabled: true,
                      scopedSlots: {
                        title: 'title',
                      },
                      buttonList: null,
                      childrenList: [],
                    },
                  ],
                },
              ],
            },
            {
              id: '1200600150669127682',
              name: '商品管理',
              checked: true,
              disabled: true,
              scopedSlots: {
                title: 'title',
              },
              buttonList: [
                {
                  id: '1201453256041275394',
                  name: '添加商品',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1201453512686542849',
                  name: '编辑商品',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1201453730572247042',
                  name: '上架',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1201453867096842241',
                  name: '下架',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1228675162182815745',
                  name: '库存维护',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1228677458211934209',
                  name: '切换库存状态',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
              ],
              childrenList: [
                {
                  id: '1200600272735956993',
                  name: '商品发布',
                  checked: true,
                  disabled: true,
                  scopedSlots: {
                    title: 'title',
                  },
                  buttonList: null,
                  childrenList: [],
                },
              ],
            },
            {
              id: '1215099486167142402',
              name: '商品对接列表',
              checked: true,
              disabled: true,
              scopedSlots: {
                title: 'title',
              },
              buttonList: null,
              childrenList: [
                {
                  id: '1213354596198551554',
                  name: '商品对接详情',
                  checked: true,
                  disabled: true,
                  scopedSlots: {
                    title: 'title',
                  },
                  buttonList: [
                    {
                      id: '1249536477978890242',
                      name: '加入黑名单',
                      checked: true,
                      disabled: false,
                      scopedSlots: false,
                    },
                    {
                      id: '1249537882240258049',
                      name: '移出黑名单',
                      checked: true,
                      disabled: false,
                      scopedSlots: false,
                    },
                  ],
                  childrenList: [],
                },
              ],
            },
            {
              id: '1214374429698592769',
              name: '供货商配置',
              checked: true,
              disabled: true,
              scopedSlots: {
                title: 'title',
              },
              buttonList: [
                {
                  id: '1228608760088399874',
                  name: '编辑',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1228608915588026369',
                  name: '添加',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
              ],
              childrenList: [],
            },
            {
              id: '1234363665696722945',
              name: '采购商黑名单列表',
              checked: true,
              disabled: true,
              scopedSlots: {
                title: 'title',
              },
              buttonList: [
                {
                  id: '1237944902650724353',
                  name: '移出黑名单',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1238000896136368129',
                  name: '移出黑名单',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1238001101275582465',
                  name: '加入全品名单',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
              ],
              childrenList: [],
            },
          ],
        },
        {
          id: '1212983536869478401',
          name: '采购管理',
          checked: true,
          disabled: true,
          scopedSlots: {
            title: 'title',
          },
          buttonList: null,
          childrenList: [
            {
              id: '1212988717531172865',
              name: '采购商品管理',
              checked: true,
              disabled: true,
              scopedSlots: {
                title: 'title',
              },
              buttonList: [
                {
                  id: '1226777804360683521',
                  name: '对接新商品',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1226874455561637889',
                  name: '保存采购方式',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1226875107729772545',
                  name: '管理供货商',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1226878676965036034',
                  name: '对接',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1226878692504932353',
                  name: '断开对接',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1226879830390247426',
                  name: '调整采购方式',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1226879941644161025',
                  name: '修改最高限价',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1226880090462261250',
                  name: '启用',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1226880397166546945',
                  name: '对接',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1226880562854137858',
                  name: '断开对接',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1226881124177842177',
                  name: '拖拽',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
              ],
              childrenList: [
                {
                  id: '1213268998985125890',
                  name: '对接新商品',
                  checked: true,
                  disabled: true,
                  scopedSlots: {
                    title: 'title',
                  },
                  buttonList: null,
                  childrenList: [],
                },
              ],
            },
            {
              id: '1212988813517819906',
              name: '采购对接管理',
              checked: true,
              disabled: true,
              scopedSlots: {
                title: 'title',
              },
              buttonList: [
                {
                  id: '1226881153483444225',
                  name: '拖拽断开',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1226881699401469953',
                  name: '启用',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1226882092726521858',
                  name: '重新对接',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1226882287149289473',
                  name: '断开对接',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
              ],
              childrenList: [
                {
                  id: '1214085652816105474',
                  name: '对接规则列表',
                  checked: true,
                  disabled: true,
                  scopedSlots: {
                    title: 'title',
                  },
                  buttonList: null,
                  childrenList: [],
                },
              ],
            },
          ],
        },
        {
          id: '1205687494721437698',
          name: '商户信息管理',
          checked: true,
          disabled: true,
          scopedSlots: {
            title: 'title',
          },
          buttonList: null,
          childrenList: [
            {
              id: '1205687746765553665',
              name: '商户信息维护',
              checked: true,
              disabled: true,
              scopedSlots: {
                title: 'title',
              },
              buttonList: [
                {
                  id: '1206907934865391617',
                  name: '更新商户营业执照',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1206908240315580418',
                  name: '更新商户联系人信息',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1206908443307311106',
                  name: '更新商户身份证信息',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1206908688946724865',
                  name: '更新商户联系人电话',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
              ],
              childrenList: [],
            },
            {
              id: '1212626685841674242',
              name: '商户接口维护',
              checked: true,
              disabled: true,
              scopedSlots: {
                title: 'title',
              },
              buttonList: [
                {
                  id: '1228667998089285634',
                  name: '查看',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1228668434494033921',
                  name: '重置',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1245613625763205121',
                  name: '保存商户URL',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
              ],
              childrenList: [],
            },
          ],
        },
        {
          id: '1212652572347764738',
          name: '库存管理',
          checked: true,
          disabled: true,
          scopedSlots: {
            title: 'title',
          },
          buttonList: null,
          childrenList: [
            {
              id: '1212652674487455745',
              name: '库存列表',
              checked: true,
              disabled: true,
              scopedSlots: {
                title: 'title',
              },
              buttonList: [
                {
                  id: '1237942383065202690',
                  name: '手动出库',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
              ],
              childrenList: [
                {
                  id: '1213017677551931394',
                  name: '库存详情',
                  checked: true,
                  disabled: true,
                  scopedSlots: {
                    title: 'title',
                  },
                  buttonList: null,
                  childrenList: [],
                },
                {
                  id: '1213365500822720514',
                  name: '添加库存',
                  checked: true,
                  disabled: true,
                  scopedSlots: {
                    title: 'title',
                  },
                  buttonList: [
                    {
                      id: '1228665904921874434',
                      name: '添加',
                      checked: true,
                      disabled: false,
                      scopedSlots: false,
                    },
                  ],
                  childrenList: [],
                },
              ],
            },
          ],
        },
        {
          id: '1213355549802926081',
          name: '订单管理',
          checked: true,
          disabled: true,
          scopedSlots: {
            title: 'title',
          },
          buttonList: null,
          childrenList: [
            {
              id: '1213355732519391234',
              name: '订单列表',
              checked: true,
              disabled: true,
              scopedSlots: {
                title: 'title',
              },
              buttonList: null,
              childrenList: [
                {
                  id: '1213364051694882817',
                  name: '订单详情',
                  checked: true,
                  disabled: true,
                  scopedSlots: {
                    title: 'title',
                  },
                  buttonList: null,
                  childrenList: [],
                },
              ],
            },
            {
              id: '1269903420467216386',
              name: '异常订单列表',
              checked: true,
              disabled: true,
              scopedSlots: {
                title: 'title',
              },
              buttonList: [
                {
                  id: '1272431505347477505',
                  name: '异常订单申请',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
              ],
              childrenList: [
                {
                  id: '1269904186733002754',
                  name: '选择异常订单',
                  checked: true,
                  disabled: true,
                  scopedSlots: {
                    title: 'title',
                  },
                  buttonList: [
                    {
                      id: '1272433151255281665',
                      name: '提出异议',
                      checked: true,
                      disabled: false,
                      scopedSlots: false,
                    },
                  ],
                  childrenList: [],
                },
                {
                  id: '1270246100917321729',
                  name: '异常订单详情',
                  checked: true,
                  disabled: true,
                  scopedSlots: {
                    title: 'title',
                  },
                  buttonList: [
                    {
                      id: '1272433730627076097',
                      name: '异常申诉',
                      checked: true,
                      disabled: false,
                      scopedSlots: false,
                    },
                    {
                      id: '1272434083409985538',
                      name: '查看凭证',
                      checked: true,
                      disabled: false,
                      scopedSlots: false,
                    },
                    {
                      id: '1272434334090952706',
                      name: '查看历史记录',
                      checked: true,
                      disabled: false,
                      scopedSlots: false,
                    },
                    {
                      id: '1272495399675920385',
                      name: '处理',
                      checked: true,
                      disabled: false,
                      scopedSlots: false,
                    },
                    {
                      id: '1272495590042796034',
                      name: '拒绝',
                      checked: true,
                      disabled: false,
                      scopedSlots: false,
                    },
                  ],
                  childrenList: [],
                },
              ],
            },
          ],
        },
        {
          id: '1203886005075275778',
          name: '财务管理',
          checked: true,
          disabled: true,
          scopedSlots: {
            title: 'title',
          },
          buttonList: null,
          childrenList: [
            {
              id: '1203886191625334786',
              name: '账户明细',
              checked: true,
              disabled: true,
              scopedSlots: {
                title: 'title',
              },
              buttonList: null,
              childrenList: [],
            },
            {
              id: '1203943274500505601',
              name: '账户资金划拨',
              checked: true,
              disabled: true,
              scopedSlots: {
                title: 'title',
              },
              buttonList: [
                {
                  id: '1204593547464130562',
                  name: '充值',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1204593815467573249',
                  name: '提现',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1204594072138006530',
                  name: '管理提现账号',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
              ],
              childrenList: [
                {
                  id: '1204296097734012929',
                  name: '充值',
                  checked: true,
                  disabled: true,
                  scopedSlots: {
                    title: 'title',
                  },
                  buttonList: null,
                  childrenList: [],
                },
                {
                  id: '1204296179791376386',
                  name: '提现',
                  checked: true,
                  disabled: true,
                  scopedSlots: {
                    title: 'title',
                  },
                  buttonList: null,
                  childrenList: [],
                },
                {
                  id: '1204296278433017857',
                  name: '银行卡管理',
                  checked: true,
                  disabled: true,
                  scopedSlots: {
                    title: 'title',
                  },
                  buttonList: [
                    {
                      id: '1205797857857142786',
                      name: '添加银行卡',
                      checked: true,
                      disabled: false,
                      scopedSlots: false,
                    },
                    {
                      id: '1252858019201454081',
                      name: '解绑',
                      checked: true,
                      disabled: false,
                      scopedSlots: false,
                    },
                  ],
                  childrenList: [
                    {
                      id: '1205789623024910338',
                      name: '添加银行卡',
                      checked: true,
                      disabled: true,
                      scopedSlots: {
                        title: 'title',
                      },
                      buttonList: null,
                      childrenList: [],
                    },
                  ],
                },
              ],
            },
            {
              id: '1234316692952223746',
              name: '发票管理',
              checked: true,
              disabled: true,
              scopedSlots: {
                title: 'title',
              },
              buttonList: [
                {
                  id: '1236844604288962561',
                  name: '开具发票',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1236845058620166146',
                  name: '添加开票信息',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
                {
                  id: '1236845161762295809',
                  name: '编辑开票信息',
                  checked: true,
                  disabled: false,
                  scopedSlots: false,
                },
              ],
              childrenList: [
                {
                  id: '1234361047234678786',
                  name: '开具发票',
                  checked: true,
                  disabled: true,
                  scopedSlots: {
                    title: 'title',
                  },
                  buttonList: null,
                  childrenList: [],
                },
              ],
            },
          ],
        },
      ],
      rightData: [
        {
          id: '1200596366656139265',
          pId: '0',
          name: '个人工作台',
          isCheck: 1,
          buttonList: [],
          childrenList: [
            {
              id: '1200596729362771969',
              pId: '1200596366656139265',
              name: '工作台',
              isCheck: 1,
              buttonList: [
                {
                  id: '1201452459412922369',
                  menuId: '1200596729362771969',
                  name: '提交认证资料',
                  alias: '商户认证 - 提交认证资料',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1201452726774636546',
                  menuId: '1200596729362771969',
                  name: '提交鉴权',
                  alias: '商户认证 - 提交鉴权',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
              ],
              childrenList: [
                {
                  id: '1200597213653889026',
                  pId: '1200596729362771969',
                  name: '认证结果',
                  isCheck: 1,
                  buttonList: [],
                  childrenList: [],
                  pid: '1200596729362771969',
                  checked: false,
                  disabled: false,
                  scopedSlots: {
                    title: 'title',
                  },
                },
                {
                  id: '1200597385532272641',
                  pId: '1200596729362771969',
                  name: '商户认证',
                  isCheck: 1,
                  buttonList: [],
                  childrenList: [],
                  pid: '1200596729362771969',
                  checked: false,
                  disabled: false,
                  scopedSlots: {
                    title: 'title',
                  },
                },
              ],
              pid: '1200596366656139265',
              checked: false,
              disabled: false,
              scopedSlots: {
                title: 'title',
              },
            },
          ],
          pid: '0',
          checked: false,
          disabled: false,
          scopedSlots: {
            title: 'title',
          },
        },
        {
          id: '1214374101670465538',
          pId: '0',
          name: '供货管理',
          isCheck: 1,
          buttonList: [],
          childrenList: [
            {
              id: '1214374364921761793',
              pId: '1214374101670465538',
              name: '销售规则配置',
              isCheck: 1,
              buttonList: [
                {
                  id: '1228608339789778946',
                  menuId: '1214374364921761793',
                  name: '添加',
                  alias: '添加销售规则',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1228608567020392449',
                  menuId: '1214374364921761793',
                  name: '编辑',
                  alias: '编辑销售规则',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
              ],
              childrenList: [
                {
                  id: '1214435882560425986',
                  pId: '1214374364921761793',
                  name: '编辑销售规则',
                  isCheck: 1,
                  buttonList: [],
                  childrenList: [],
                  pid: '1214374364921761793',
                  checked: false,
                  disabled: false,
                  scopedSlots: {
                    title: 'title',
                  },
                },
              ],
              pid: '1214374101670465538',
              checked: false,
              disabled: false,
              scopedSlots: {
                title: 'title',
              },
            },
            {
              id: '1212654934990819330',
              pId: '1214374101670465538',
              name: '采购商对接列表',
              isCheck: 1,
              buttonList: [
                {
                  id: '1249534653402124289',
                  menuId: '1212654934990819330',
                  name: '加入黑名单',
                  alias: '加入商户黑名单',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1249535323362496513',
                  menuId: '1212654934990819330',
                  name: '移出黑名单',
                  alias: '移出商户黑名单',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
              ],
              childrenList: [
                {
                  id: '1213352739115929601',
                  pId: '1212654934990819330',
                  name: '采购商对接详情',
                  isCheck: 1,
                  buttonList: [
                    {
                      id: '1269914860414599170',
                      menuId: '1213352739115929601',
                      name: '设置协议价',
                      alias: '设置协议价',
                      isCheck: 1,
                      checked: false,
                      disabled: false,
                    },
                    {
                      id: '1269938003099287553',
                      menuId: '1213352739115929601',
                      name: '取消协议价',
                      alias: '取消协议价',
                      isCheck: 1,
                      checked: false,
                      disabled: false,
                    },
                  ],
                  childrenList: [
                    {
                      id: '1270537535059165185',
                      pId: '1213352739115929601',
                      name: '采购商对接商品详情',
                      isCheck: 1,
                      buttonList: [],
                      childrenList: [],
                      pid: '1213352739115929601',
                      checked: false,
                      disabled: false,
                      scopedSlots: {
                        title: 'title',
                      },
                    },
                  ],
                  pid: '1212654934990819330',
                  checked: false,
                  disabled: false,
                  scopedSlots: {
                    title: 'title',
                  },
                },
              ],
              pid: '1214374101670465538',
              checked: false,
              disabled: false,
              scopedSlots: {
                title: 'title',
              },
            },
            {
              id: '1200600150669127682',
              pId: '1214374101670465538',
              name: '商品管理',
              isCheck: 1,
              buttonList: [
                {
                  id: '1201453256041275394',
                  menuId: '1200600150669127682',
                  name: '添加商品',
                  alias: '商品发布',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1201453512686542849',
                  menuId: '1200600150669127682',
                  name: '编辑商品',
                  alias: '编辑商品',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1201453730572247042',
                  menuId: '1200600150669127682',
                  name: '上架',
                  alias: '商品上架',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1201453867096842241',
                  menuId: '1200600150669127682',
                  name: '下架',
                  alias: '商品下架',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1228675162182815745',
                  menuId: '1200600150669127682',
                  name: '库存维护',
                  alias: '库存维护',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1228677458211934209',
                  menuId: '1200600150669127682',
                  name: '切换库存状态',
                  alias: '切换库存状态',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
              ],
              childrenList: [
                {
                  id: '1200600272735956993',
                  pId: '1200600150669127682',
                  name: '商品发布',
                  isCheck: 1,
                  buttonList: [],
                  childrenList: [],
                  pid: '1200600150669127682',
                  checked: false,
                  disabled: false,
                  scopedSlots: {
                    title: 'title',
                  },
                },
              ],
              pid: '1214374101670465538',
              checked: false,
              disabled: false,
              scopedSlots: {
                title: 'title',
              },
            },
            {
              id: '1215099486167142402',
              pId: '1214374101670465538',
              name: '商品对接列表',
              isCheck: 1,
              buttonList: [],
              childrenList: [
                {
                  id: '1213354596198551554',
                  pId: '1215099486167142402',
                  name: '商品对接详情',
                  isCheck: 1,
                  buttonList: [
                    {
                      id: '1249536477978890242',
                      menuId: '1213354596198551554',
                      name: '加入黑名单',
                      alias: '加入商品黑名单',
                      isCheck: 1,
                      checked: false,
                      disabled: false,
                    },
                    {
                      id: '1249537882240258049',
                      menuId: '1213354596198551554',
                      name: '移出黑名单',
                      alias: '移出商品黑名单',
                      isCheck: 1,
                      checked: false,
                      disabled: false,
                    },
                  ],
                  childrenList: [],
                  pid: '1215099486167142402',
                  checked: false,
                  disabled: false,
                  scopedSlots: {
                    title: 'title',
                  },
                },
              ],
              pid: '1214374101670465538',
              checked: false,
              disabled: false,
              scopedSlots: {
                title: 'title',
              },
            },
            {
              id: '1214374429698592769',
              pId: '1214374101670465538',
              name: '供货商配置',
              isCheck: 1,
              buttonList: [
                {
                  id: '1228608760088399874',
                  menuId: '1214374429698592769',
                  name: '编辑',
                  alias: '编辑供货商配置',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1228608915588026369',
                  menuId: '1214374429698592769',
                  name: '添加',
                  alias: '添加供货商配置',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
              ],
              childrenList: [],
              pid: '1214374101670465538',
              checked: false,
              disabled: false,
              scopedSlots: {
                title: 'title',
              },
            },
            {
              id: '1234363665696722945',
              pId: '1214374101670465538',
              name: '采购商黑名单列表',
              isCheck: 1,
              buttonList: [
                {
                  id: '1237944902650724353',
                  menuId: '1234363665696722945',
                  name: '移出黑名单',
                  alias: '全品移出黑名单',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1238000896136368129',
                  menuId: '1234363665696722945',
                  name: '移出黑名单',
                  alias: '单品移出黑名单',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1238001101275582465',
                  menuId: '1234363665696722945',
                  name: '加入全品名单',
                  alias: '加入全品名单',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
              ],
              childrenList: [],
              pid: '1214374101670465538',
              checked: false,
              disabled: false,
              scopedSlots: {
                title: 'title',
              },
            },
          ],
          pid: '0',
          checked: false,
          disabled: false,
          scopedSlots: {
            title: 'title',
          },
        },
        {
          id: '1212983536869478401',
          pId: '0',
          name: '采购管理',
          isCheck: 1,
          buttonList: [],
          childrenList: [
            {
              id: '1212988717531172865',
              pId: '1212983536869478401',
              name: '采购商品管理',
              isCheck: 1,
              buttonList: [
                {
                  id: '1226777804360683521',
                  menuId: '1212988717531172865',
                  name: '对接新商品',
                  alias: '对接新商品',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1226874455561637889',
                  menuId: '1212988717531172865',
                  name: '保存采购方式',
                  alias: '采购商品管理-保存采购方式',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1226875107729772545',
                  menuId: '1212988717531172865',
                  name: '管理供货商',
                  alias: '采购商品管理-管理供货商',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1226878676965036034',
                  menuId: '1212988717531172865',
                  name: '对接',
                  alias: '采购商品管理-指定供货商-对接商品',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1226878692504932353',
                  menuId: '1212988717531172865',
                  name: '断开对接',
                  alias: '采购商品管理-指定供货商-断开对接',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1226879830390247426',
                  menuId: '1212988717531172865',
                  name: '调整采购方式',
                  alias: '采购商品管理-调整采购方式',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1226879941644161025',
                  menuId: '1212988717531172865',
                  name: '修改最高限价',
                  alias: '采购商品管理-修改最高限价',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1226880090462261250',
                  menuId: '1212988717531172865',
                  name: '启用',
                  alias: '采购商品管理-启用失效规则',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1226880397166546945',
                  menuId: '1212988717531172865',
                  name: '对接',
                  alias: '详情-指定供货商-对接新商品',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1226880562854137858',
                  menuId: '1212988717531172865',
                  name: '断开对接',
                  alias: '详情-指定供货商-断开对接',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1226881124177842177',
                  menuId: '1212988717531172865',
                  name: '拖拽',
                  alias: '详情-指定供货商-拖拽改变指定供货商供货顺序',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
              ],
              childrenList: [
                {
                  id: '1213268998985125890',
                  pId: '1212988717531172865',
                  name: '对接新商品',
                  isCheck: 1,
                  buttonList: [],
                  childrenList: [],
                  pid: '1212988717531172865',
                  checked: false,
                  disabled: false,
                  scopedSlots: {
                    title: 'title',
                  },
                },
              ],
              pid: '1212983536869478401',
              checked: false,
              disabled: false,
              scopedSlots: {
                title: 'title',
              },
            },
            {
              id: '1212988813517819906',
              pId: '1212983536869478401',
              name: '采购对接管理',
              isCheck: 1,
              buttonList: [
                {
                  id: '1226881153483444225',
                  menuId: '1212988813517819906',
                  name: '拖拽断开',
                  alias: '指定供货商 - 断开全部对接',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1226881699401469953',
                  menuId: '1212988813517819906',
                  name: '启用',
                  alias: '指定规则-启用失效规则',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1226882092726521858',
                  menuId: '1212988813517819906',
                  name: '重新对接',
                  alias: '采购对接管理-指定供货商-重新对接',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1226882287149289473',
                  menuId: '1212988813517819906',
                  name: '断开对接',
                  alias: '采购对接管理-指定供货商-断开对接',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
              ],
              childrenList: [
                {
                  id: '1214085652816105474',
                  pId: '1212988813517819906',
                  name: '对接规则列表',
                  isCheck: 1,
                  buttonList: [],
                  childrenList: [],
                  pid: '1212988813517819906',
                  checked: false,
                  disabled: false,
                  scopedSlots: {
                    title: 'title',
                  },
                },
              ],
              pid: '1212983536869478401',
              checked: false,
              disabled: false,
              scopedSlots: {
                title: 'title',
              },
            },
          ],
          pid: '0',
          checked: false,
          disabled: false,
          scopedSlots: {
            title: 'title',
          },
        },
        {
          id: '1205687494721437698',
          pId: '0',
          name: '商户信息管理',
          isCheck: 1,
          buttonList: [],
          childrenList: [
            {
              id: '1205687746765553665',
              pId: '1205687494721437698',
              name: '商户信息维护',
              isCheck: 1,
              buttonList: [
                {
                  id: '1206907934865391617',
                  menuId: '1205687746765553665',
                  name: '更新商户营业执照',
                  alias: '更新商户营业执照',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1206908240315580418',
                  menuId: '1205687746765553665',
                  name: '更新商户联系人信息',
                  alias: '更新商户联系人信息',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1206908443307311106',
                  menuId: '1205687746765553665',
                  name: '更新商户身份证信息',
                  alias: '更新商户身份证信息',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1206908688946724865',
                  menuId: '1205687746765553665',
                  name: '更新商户联系人电话',
                  alias: '更新商户联系人电话',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
              ],
              childrenList: [],
              pid: '1205687494721437698',
              checked: false,
              disabled: false,
              scopedSlots: {
                title: 'title',
              },
            },
            {
              id: '1212626685841674242',
              pId: '1205687494721437698',
              name: '商户接口维护',
              isCheck: 1,
              buttonList: [
                {
                  id: '1228667998089285634',
                  menuId: '1212626685841674242',
                  name: '查看',
                  alias: '查看商户KEY',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1228668434494033921',
                  menuId: '1212626685841674242',
                  name: '重置',
                  alias: '重置商户KEY',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1245613625763205121',
                  menuId: '1212626685841674242',
                  name: '保存商户URL',
                  alias: '保存商户URL',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
              ],
              childrenList: [],
              pid: '1205687494721437698',
              checked: false,
              disabled: false,
              scopedSlots: {
                title: 'title',
              },
            },
          ],
          pid: '0',
          checked: false,
          disabled: false,
          scopedSlots: {
            title: 'title',
          },
        },
        {
          id: '1212652572347764738',
          pId: '0',
          name: '库存管理',
          isCheck: 1,
          buttonList: [],
          childrenList: [
            {
              id: '1212652674487455745',
              pId: '1212652572347764738',
              name: '库存列表',
              isCheck: 1,
              buttonList: [
                {
                  id: '1237942383065202690',
                  menuId: '1212652674487455745',
                  name: '手动出库',
                  alias: '库存手动出库',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
              ],
              childrenList: [
                {
                  id: '1213017677551931394',
                  pId: '1212652674487455745',
                  name: '库存详情',
                  isCheck: 1,
                  buttonList: [],
                  childrenList: [],
                  pid: '1212652674487455745',
                  checked: false,
                  disabled: false,
                  scopedSlots: {
                    title: 'title',
                  },
                },
                {
                  id: '1213365500822720514',
                  pId: '1212652674487455745',
                  name: '添加库存',
                  isCheck: 1,
                  buttonList: [
                    {
                      id: '1228665904921874434',
                      menuId: '1213365500822720514',
                      name: '添加',
                      alias: '添加库存',
                      isCheck: 1,
                      checked: false,
                      disabled: false,
                    },
                  ],
                  childrenList: [],
                  pid: '1212652674487455745',
                  checked: false,
                  disabled: false,
                  scopedSlots: {
                    title: 'title',
                  },
                },
              ],
              pid: '1212652572347764738',
              checked: false,
              disabled: false,
              scopedSlots: {
                title: 'title',
              },
            },
          ],
          pid: '0',
          checked: false,
          disabled: false,
          scopedSlots: {
            title: 'title',
          },
        },
        {
          id: '1213355549802926081',
          pId: '0',
          name: '订单管理',
          isCheck: 1,
          buttonList: [],
          childrenList: [
            {
              id: '1213355732519391234',
              pId: '1213355549802926081',
              name: '订单列表',
              isCheck: 1,
              buttonList: [],
              childrenList: [
                {
                  id: '1213364051694882817',
                  pId: '1213355732519391234',
                  name: '订单详情',
                  isCheck: 1,
                  buttonList: [],
                  childrenList: [],
                  pid: '1213355732519391234',
                  checked: false,
                  disabled: false,
                  scopedSlots: {
                    title: 'title',
                  },
                },
              ],
              pid: '1213355549802926081',
              checked: false,
              disabled: false,
              scopedSlots: {
                title: 'title',
              },
            },
            {
              id: '1269903420467216386',
              pId: '1213355549802926081',
              name: '异常订单列表',
              isCheck: 1,
              buttonList: [
                {
                  id: '1272431505347477505',
                  menuId: '1269903420467216386',
                  name: '异常订单申请',
                  alias: '异常订单申请',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
              ],
              childrenList: [
                {
                  id: '1269904186733002754',
                  pId: '1269903420467216386',
                  name: '选择异常订单',
                  isCheck: 1,
                  buttonList: [
                    {
                      id: '1272433151255281665',
                      menuId: '1269904186733002754',
                      name: '提出异议',
                      alias: '提出异议',
                      isCheck: 1,
                      checked: false,
                      disabled: false,
                    },
                  ],
                  childrenList: [],
                  pid: '1269903420467216386',
                  checked: false,
                  disabled: false,
                  scopedSlots: {
                    title: 'title',
                  },
                },
                {
                  id: '1270246100917321729',
                  pId: '1269903420467216386',
                  name: '异常订单详情',
                  isCheck: 1,
                  buttonList: [
                    {
                      id: '1272433730627076097',
                      menuId: '1270246100917321729',
                      name: '异常申诉',
                      alias: '异常申诉',
                      isCheck: 1,
                      checked: false,
                      disabled: false,
                    },
                    {
                      id: '1272434083409985538',
                      menuId: '1270246100917321729',
                      name: '查看凭证',
                      alias: '查看凭证',
                      isCheck: 1,
                      checked: false,
                      disabled: false,
                    },
                    {
                      id: '1272434334090952706',
                      menuId: '1270246100917321729',
                      name: '查看历史记录',
                      alias: '查看历史记录',
                      isCheck: 1,
                      checked: false,
                      disabled: false,
                    },
                    {
                      id: '1272495399675920385',
                      menuId: '1270246100917321729',
                      name: '处理',
                      alias: '处理',
                      isCheck: 1,
                      checked: false,
                      disabled: false,
                    },
                    {
                      id: '1272495590042796034',
                      menuId: '1270246100917321729',
                      name: '拒绝',
                      alias: '拒绝',
                      isCheck: 1,
                      checked: false,
                      disabled: false,
                    },
                  ],
                  childrenList: [],
                  pid: '1269903420467216386',
                  checked: false,
                  disabled: false,
                  scopedSlots: {
                    title: 'title',
                  },
                },
              ],
              pid: '1213355549802926081',
              checked: false,
              disabled: false,
              scopedSlots: {
                title: 'title',
              },
            },
          ],
          pid: '0',
          checked: false,
          disabled: false,
          scopedSlots: {
            title: 'title',
          },
        },
        {
          id: '1203886005075275778',
          pId: '0',
          name: '财务管理',
          isCheck: 1,
          buttonList: [],
          childrenList: [
            {
              id: '1203886191625334786',
              pId: '1203886005075275778',
              name: '账户明细',
              isCheck: 1,
              buttonList: [],
              childrenList: [],
              pid: '1203886005075275778',
              checked: false,
              disabled: false,
              scopedSlots: {
                title: 'title',
              },
            },
            {
              id: '1203943274500505601',
              pId: '1203886005075275778',
              name: '账户资金划拨',
              isCheck: 1,
              buttonList: [
                {
                  id: '1204593547464130562',
                  menuId: '1203943274500505601',
                  name: '充值',
                  alias: '商户账户资金划拨充值',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1204593815467573249',
                  menuId: '1203943274500505601',
                  name: '提现',
                  alias: '商户账户资金划拨提现',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1204594072138006530',
                  menuId: '1203943274500505601',
                  name: '管理提现账号',
                  alias: '商户账户资金划拨管理提现账号',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
              ],
              childrenList: [
                {
                  id: '1204296097734012929',
                  pId: '1203943274500505601',
                  name: '充值',
                  isCheck: 1,
                  buttonList: [],
                  childrenList: [],
                  pid: '1203943274500505601',
                  checked: false,
                  disabled: false,
                  scopedSlots: {
                    title: 'title',
                  },
                },
                {
                  id: '1204296179791376386',
                  pId: '1203943274500505601',
                  name: '提现',
                  isCheck: 1,
                  buttonList: [],
                  childrenList: [],
                  pid: '1203943274500505601',
                  checked: false,
                  disabled: false,
                  scopedSlots: {
                    title: 'title',
                  },
                },
                {
                  id: '1204296278433017857',
                  pId: '1203943274500505601',
                  name: '银行卡管理',
                  isCheck: 1,
                  buttonList: [
                    {
                      id: '1205797857857142786',
                      menuId: '1204296278433017857',
                      name: '添加银行卡',
                      alias: '添加提现银行卡',
                      isCheck: 1,
                      checked: false,
                      disabled: false,
                    },
                    {
                      id: '1252858019201454081',
                      menuId: '1204296278433017857',
                      name: '解绑',
                      alias: '解绑银行卡',
                      isCheck: 1,
                      checked: false,
                      disabled: false,
                    },
                  ],
                  childrenList: [
                    {
                      id: '1205789623024910338',
                      pId: '1204296278433017857',
                      name: '添加银行卡',
                      isCheck: 1,
                      buttonList: [],
                      childrenList: [],
                      pid: '1204296278433017857',
                      checked: false,
                      disabled: false,
                      scopedSlots: {
                        title: 'title',
                      },
                    },
                  ],
                  pid: '1203943274500505601',
                  checked: false,
                  disabled: false,
                  scopedSlots: {
                    title: 'title',
                  },
                },
              ],
              pid: '1203886005075275778',
              checked: false,
              disabled: false,
              scopedSlots: {
                title: 'title',
              },
            },
            {
              id: '1234316692952223746',
              pId: '1203886005075275778',
              name: '发票管理',
              isCheck: 1,
              buttonList: [
                {
                  id: '1236844604288962561',
                  menuId: '1234316692952223746',
                  name: '开具发票',
                  alias: '商户端申请开具发票',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1236845058620166146',
                  menuId: '1234316692952223746',
                  name: '添加开票信息',
                  alias: '商户端添加开票信息',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
                {
                  id: '1236845161762295809',
                  menuId: '1234316692952223746',
                  name: '编辑开票信息',
                  alias: '商户端编辑开票信息',
                  isCheck: 1,
                  checked: false,
                  disabled: false,
                },
              ],
              childrenList: [
                {
                  id: '1234361047234678786',
                  pId: '1234316692952223746',
                  name: '开具发票',
                  isCheck: 1,
                  buttonList: [],
                  childrenList: [],
                  pid: '1234316692952223746',
                  checked: false,
                  disabled: false,
                  scopedSlots: {
                    title: 'title',
                  },
                },
              ],
              pid: '1203886005075275778',
              checked: false,
              disabled: false,
              scopedSlots: {
                title: 'title',
              },
            },
          ],
          pid: '0',
          checked: false,
          disabled: false,
          scopedSlots: {
            title: 'title',
          },
        },
      ],
    };
  },
  created() {},
  methods: {},
};
</script>

<style lang="less" scoped>
.TransferTree {
}
</style>
